package com.lcq.gulimall.cart.service;

import com.lcq.gulimall.cart.vo.Cart;
import com.lcq.gulimall.cart.vo.CartItem;

import java.util.List;
import java.util.concurrent.ExecutionException;

public interface CartService {
    CartItem addSku(Long skuId, Integer count) throws ExecutionException, InterruptedException;

    CartItem getCartItem(Long skuId);

    Cart getCart();

    List<CartItem> getCheckedCartItemList();
}
